Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 3 - Page Formatting and Dialog Box Customization / Page Formatting and Dialog Box Customization Reference
Panel-Related Constants and Data Types


The Panel Setup Structure

The panel setup structure, of data type gxPanelSetupRecord, is passed to the GXSetupDialogPanel function when the user displays a dialog box.

struct gxPanelSetupRecord {
  gxPrintingPanelKind   panelKind;
  short                 panelResId;
  short                 resourceRefNum;
  void                  *refCon;
};
Field Description
panelKind
The kind of program that is using this panel. This value is one of the constants defined in the printing panel kinds enumeration, which is described in the next section.
panelResId
The resource ID of the panel ('ppnl') resource for the dialog box panel.
resourceRefNum

The resource file reference number for the panel.
refCon
A reference constant for use by the creator of the panel.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help